package com.bfly.mall.user.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 用户表单DTO
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/15 21:25
 */
public class UserFormDTO implements Serializable {


    private static final long serialVersionUID = -5720206005901397500L;
    private int id;
    @NotBlank(message = "用户昵称不能为空!")
    private String nickName;
    private String phone;
    private int gender;

    private int level;
    private boolean enable;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
